package com.yanqingying.service.impl;

import com.yanqingying.User;
import com.yanqingying.mapper.UserMapper;
import com.yanqingying.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserServiceImpI implements UserService {
    @Autowired
    UserMapper userMapper;
   public List<User> list(){
       return userMapper.list();
   }

}
